package webchat;

import javax.websocket.Session;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * @author darren
 * @date 2016年7月15日 下午4:28:36
*/
public class ChatUser {

	private String name;
	@JSONField(serialize=false)
	private Session session;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Session getSession() {
		return session;
	}
	public void setSession(Session session) {
		this.session = session;
	}
	public ChatUser() {
		super();
	}
	public ChatUser(String name, Session session) {
		super();
		this.name = name;
		this.session = session;
	}
	
	
}
